package com.hyt.it.ogt.data.model.entity.pj;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 题目分数表
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pj_item_score")
@ApiModel(value="ItemScore对象", description="题目分数表")
public class ItemScore extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "试卷评卷块表")
    private String pieceId;

    @ApiModelProperty(value = "试题id")
    private String itemId;

    @ApiModelProperty(value = "评卷任务id")
    private String taskId;

    @ApiModelProperty(value = "评卷教师")
    private String userId;
    
    @ApiModelProperty(value = "试题观点:true:客观,false:主观")
    private Boolean itemViewPoint;

    @ApiModelProperty(value = "得分")
    private BigDecimal score;

    @ApiModelProperty(value = "密号")
    private String encodeId;

    @ApiModelProperty(value = "评卷阶段")
    private String stage;

    @ApiModelProperty(value = "评语")
    private String remark;

    @ApiModelProperty(value = "评卷完成标记（0：未完成 1：已完成）")
    private Integer finish;

}
